Optimal. Leaf size=46 \[ \frac {x}{2 a^2 c^2 \left (a^2-b^2 x^2\right )}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^3 b c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {41, 205, 214}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^3 b c^2}+\frac {x}{2 a^2 c^2 \left (a^2-b^2 x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 41
Rule 205
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^2 (a c-b c x)^2} \, dx &=\int \frac {1}{\left (a^2 c-b^2 c x^2\right )^2} \, dx\\ &=\frac {x}{2 a^2 c^2 \left (a^2-b^2 x^2\right )}+\frac {\int \frac {1}{a^2 c-b^2 c x^2} \, dx}{2 a^2 c}\\ &=\frac {x}{2 a^2 c^2 \left (a^2-b^2 x^2\right )}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^3 b c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 74, normalized size = 1.61 \begin {gather*} \frac {2 a b x+\left (-a^2+b^2 x^2\right ) \log (a-b x)+\left (a^2-b^2 x^2\right ) \log (a+b x)}{4 a^3 b c^2 (a-b x) (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 66, normalized size = 1.43
method | result | size |
norman | \(\frac {x}{2 a^{2} c^{2} \left (b x +a \right ) \left (-b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{3} b \,c^{2}}+\frac {\ln \left (b x +a \right )}{4 a^{3} b \,c^{2}}\) | \(61\) |
risch | \(\frac {x}{2 a^{2} c^{2} \left (b x +a \right ) \left (-b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{3} b \,c^{2}}+\frac {\ln \left (b x +a \right )}{4 a^{3} b \,c^{2}}\) | \(61\) |
default | \(\frac {-\frac {\ln \left (-b x +a \right )}{4 a^{3} b}+\frac {1}{4 a^{2} b \left (-b x +a \right )}+\frac {\ln \left (b x +a \right )}{4 a^{3} b}-\frac {1}{4 a^{2} b \left (b x +a \right )}}{c^{2}}\) | \(66\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.34, size = 64, normalized size = 1.39 \begin {gather*} -\frac {x}{2 \, {\left (a^{2} b^{2} c^{2} x^{2} - a^{4} c^{2}\right )}} + \frac {\log \left (b x + a\right )}{4 \, a^{3} b c^{2}} - \frac {\log \left (b x - a\right )}{4 \, a^{3} b c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.78, size = 76, normalized size = 1.65 \begin {gather*} -\frac {2 \, a b x - {\left (b^{2} x^{2} - a^{2}\right )} \log \left (b x + a\right ) + {\left (b^{2} x^{2} - a^{2}\right )} \log \left (b x - a\right )}{4 \, {\left (a^{3} b^{3} c^{2} x^{2} - a^{5} b c^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 49, normalized size = 1.07 \begin {gather*} - \frac {x}{- 2 a^{4} c^{2} + 2 a^{2} b^{2} c^{2} x^{2}} + \frac {- \frac {\log {\left (- \frac {a}{b} + x \right )}}{4} + \frac {\log {\left (\frac {a}{b} + x \right )}}{4}}{a^{3} b c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.18, size = 83, normalized size = 1.80 \begin {gather*} -\frac {1}{4 \, {\left (b c x - a c\right )} a^{2} b c} + \frac {\log \left ({\left | -\frac {2 \, a c}{b c x - a c} - 1 \right |}\right )}{4 \, a^{3} b c^{2}} + \frac {1}{8 \, a^{3} b {\left (\frac {2 \, a c}{b c x - a c} + 1\right )} c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 46, normalized size = 1.00 \begin {gather*} \frac {x}{2\,a^2\,\left (a^2\,c^2-b^2\,c^2\,x^2\right )}+\frac {\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{2\,a^3\,b\,c^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________